package testCasalib 
{
	import org.casalib.display.CasaMovieClip;
	import org.casalib.events.LoadEvent;
	import org.casalib.load.DataLoad;
	/**
	 * ...
	 * @author Harry
	 */
	public class xmlProcess extends CasaMovieClip
	{
		private var _dataLoad:DataLoad;
		
		public function xmlProcess() 
		{
			this._dataLoad = new DataLoad("assets/PropertyDetail.xml");
			this._dataLoad.addEventListener(LoadEvent.COMPLETE, this._onComplete);
			this._dataLoad.start();
        }

        protected function _onComplete(e:LoadEvent):void 
		{
            trace(this._dataLoad.dataAsXml);
        }

		
	}

}